import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 *  * 生产领料
 * */
// 创建
export const productionFeedstockCreate = (data) => postRequest('/production/feedstock/create', data);

// 更新
export const productionFeedstockUpdate = (data) => putRequest('/production/feedstock/update', data);

// 删除
export const productionFeedstockDelete = (params) => deleteRequest('/production/feedstock/delete', params);

// 获得
export const productionFeedstockGet = (params) => getRequest('/production/feedstock/get', params);
export const systemEmpPage = (params) => getRequest('/system/emp/page', params);

// 获得分页
export const productionFeedstockPage = (params) => getRequest('/production/feedstock/page', params);
export const productionInventoryProductStockPage = (params) => getRequest('/production/inventory-product-stock/page', params);

// 下达与撤回
export const productionFeedstockRelease = (params) => postRequest('/production/feedstock/release', params);
export const productionFeedstockClearRelease = (params) => postRequest('/production/feedstock/clear-release', params);
// 更新状态
export const productionFeedstockUpdateAuditState = (params) => postRequest('/production/feedstock/update-audit-state', params);
// 获得排班员工列表-根据岗位
export const workforceManagementScheduleEmpGetByPost = (params) => getRequest('/workforcemanagement/schedule-emp/get-by-post', params);

